package com.system.xingzhi.dao.mapper;

import com.system.xingzhi.model.Component;
import com.system.xingzhi.model.Page;
import com.system.xingzhi.model.Role;

import java.util.List;
import java.util.Map;

public interface ComponentMapper {
    int deleteByPrimaryKey(String componentId);

    int insert(Component record);

    int insertSelective(Component record);

    Component selectByPrimaryKey(String componentId);

    int updateByPrimaryKeySelective(Component record);

    int updateByPrimaryKey(Component record);

    List<Component> selectByParameter(Map<String,String> map);

    List<Component> getAllComponent();
}